.class Lcom/estrongs/android/taskmanager/ci;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/preference/Preference$OnPreferenceChangeListener;


# instance fields
.field final synthetic a:Lcom/estrongs/android/taskmanager/HomePreferencesActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/taskmanager/HomePreferencesActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/estrongs/android/taskmanager/ci;->a:Lcom/estrongs/android/taskmanager/HomePreferencesActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPreferenceChange(Landroid/preference/Preference;Ljava/lang/Object;)Z
    .locals 3

    const/4 v0, 0x1

    check-cast p2, Ljava/lang/Boolean;

    sget-object v1, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;

    if-ne p2, v1, :cond_1

    :cond_0
    :goto_0
    return v0

    :cond_1
    invoke-static {}, Lcom/estrongs/android/taskmanager/tools/k;->b()Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/estrongs/android/taskmanager/ci;->a:Lcom/estrongs/android/taskmanager/HomePreferencesActivity;

    const v2, 0x7f070077

    invoke-static {v1, v2, v0}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    const/4 v0, 0x0

    goto :goto_0
.end method
